<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <ul>
        <!--遍历对象-->
        <li v-for="(value,key,index) in person">{{key}} : {{value}} 索引是：{{index}}</li>
    </ul>
</div>
<script src="../../JavaScript/vue.js"></script>
<script>

    const app = Vue.createApp({
        data() {
            return {

                person: {id: 1, name: "陶品奇", age: 22}
            }
        }
    })
    app.mount("#app")
</script>
</body>
</html>